package com.auxgroup.smarthome.service;

import com.auxgroup.smarthome.syscode.Syscode;
import com.auxgroup.smarthome.web.ApiResponse;
import org.springframework.stereotype.Component;

/**
 * Created by kevinchen on 2017/10/13.
 */
@Component
public class AppControlFuncServiceFallback implements AppControlFuncService {

    @Override
    public ApiResponse closePeakValleyCurve(String did) {
        return ApiResponse.prompt(Syscode.FAIL);
    }

    @Override
    public ApiResponse closeSmartElectricity(String pk, String mac, String did) {
        return ApiResponse.prompt(Syscode.FAIL);
    }

    @Override
    public ApiResponse closeAllSleepDiy(String pk, String did) {
        return ApiResponse.prompt(Syscode.FAIL);
    }
}
